/*
 * Group 3, User Interface Programming II (vt11)
 * Pooya | Flora | Monica | Can
 */
package vical.action;

import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import javax.swing.Action;
import javax.swing.KeyStroke;
import javax.swing.text.StyledEditorKit;
import vical.model.Internationalization;

/**
 * The cut action.
 *
 * @author WoKe
 */
public class CutAction extends StyledEditorKit.CutAction {

    public CutAction() {
        putValue(Action.NAME, Internationalization.getString("cut"));
        putValue(Action.ACCELERATOR_KEY,
                KeyStroke.getKeyStroke(KeyEvent.VK_X, ActionEvent.CTRL_MASK));
    }
}
